package com.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.model.TSysUser;
import com.campus.model.dto.TSysUserCreateDto;
import com.campus.model.dto.UserSelectCondition;

import java.util.List;

public interface ISysUserService extends IService<TSysUser> {

    // 登录
    public TSysUser selectUser(String username, String password);

    //新增用户
    public Integer insertUser(TSysUserCreateDto userCreateDto);

    //查询用户 按照名字或id查询
    public List<TSysUser> selectUserByCondition(UserSelectCondition userSelectCondition);
}
